package org.example.examsystem.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.example.examsystem.entity.User;

@Mapper
public interface UserMapper {
    User findUserByUsernameAndPassword(String username, String password);
    int registerUser(User user);
    User findUserById(int userId);
    int updatePassword(int userId, String newPassword);
}